<div class="sign-box" id="inline2">
        <div class="sign-contbox">
            <form name="registerNew" id="registerNew" method="post">
	            <h1>Register <a href="javascript:void(0)" id="close_button" onclick="closePopup()"></a></h1>
                <div class="log-rigfld">
    	            <div id="rig-lftbg">
                        <div class="log-bx">
                            <div class="reg-lftbx">Name<span>*</span></div>
                            <div class="reg-rhtbx">
                                <input tabindex="1" type="text" onkeypress="regSubmit(event);" name="name" id="name" value="" placeholder="Please Enter Your Name" class="inputBg" >
                                <span class="valid-error" id="errorusername"></span>
								<span class="valid-error" id="errorlengthusername"></span>
                            </div>
                        </div>
                        <div class="log-bx">
                            <div class="reg-lftbx">Email ID<span>*</span></div>
                            <div class="reg-rhtbx">
                                <input tabindex="2" type="text" onkeypress="regSubmit(event);" name="emailId" id="emailId" value="" placeholder="Please Enter Your Email ID" class="inputBg">
                                <span class="valid-error" id="erroremail"></span>
                            </div>
                        </div>
                        <div class="log-bx">
                            
                            <div class="reg-lftbx">Mobile<span>*</span></div>
                            <div class="">
                               <span>
                                  <select  tabindex="3" id="phonecode" name="phonecode" class="select-country"> 
                                     <?if(isset($_SESSION['ip_countryname'])){if($_SESSION['ip_countryname']=='India'){?>
											<option value="+91" data-image="/images/country-flags/India.jpg" selected="selected">+91</option>
											<option value="+61" data-image="/images/country-flags/Australia.jpg">+61</option>
											<option value="+1" data-image="/images/country-flags/United States.jpg">+1</option>
										<?}else if($_SESSION['ip_countryname']=='Australia'){?>
										   <option value="+61" data-image="/images/country-flags/Australia.jpg"selected="selected">+61</option>
										   <option value="+91" data-image="/images/country-flags/India.jpg">+91</option>
										   <option value="+1" data-image="/images/country-flags/United States.jpg">+1</option>
										<?}else if($_SESSION['ip_countryname']=='United States'){?>
										   <option value="+1" data-image="/images/country-flags/United States.jpg" selected="selected">+1</option>
											<option value="+61" data-image="/images/country-flags/Australia.jpg">+61</option>
										    <option value="+91" data-image="/images/country-flags/India.jpg">+91</option>
                                        <?}}else{?>
											<option value="+61" data-image="/images/country-flags/Australia.jpg">+61</option>
										    <option value="+91" data-image="/images/country-flags/India.jpg">+91</option>
											<option value="+1" data-image="/images/country-flags/United States.jpg">+1</option>
										<?}?>
                                  </select>
                               </span>
                                <input id="phone" tabindex="4" onkeypress="regSubmit(event);" type="text" name="phone" maxlength="10" placeholder="Please Enter Mobile Number" style=" border: 1px solid #D7D7D7;padding:5px;">
                                <span class="valid-error" id="errormobileNo"></span>
                            </div>
                            
                        </div>        
                        <div class="log-bx">
                            <div class="reg-lftbx"></div>
                            <div class="reg-rhtbx reg-checkbox"  onkeypress="regSubmit(event);"  tabindex="5">
                                <? if(isset($this->usertypes)){foreach($this->usertypes as $key=>$usertype){?>
									<input  tabindex="<?echo $key+1+5?>" type="radio" name="usertype" id="radio<?echo $key+1?>" class="css-checkbox" value="<?echo $usertype->user_type_id;?>" /><label for="radio<?echo $key+1?>" class="css-label"><?echo $usertype->name;?></label>
								<?}}?>
                                <span class="chk-valid-error" id="errorusertype"></span>
                            </div>
                        </div>
                        <p class="terms" >By clicking on "join" you have agree to the <a href="#" tabindex="9">Terms & Conditions</a></p>
						<span class="valid-error" id="regAuthmail" style="color:green"></span>
					</div>
    	        </div>
                <div class="rg-ftbg">
                    <div class="join-text1">
                    	Already a member? &nbsp;&nbsp;<a onclick="getPopupForms('login');" href="#login_banner" tabindex="10" id="various1">Login</a><br/>
						
                    </div>
					  <span  id="loadding" style="display:none"><img src="/images/loader16.gif"/></span>
                    <div class="join-butbg">
                        
						<a class="register_1 hint--left hint--warning hint--rounded" data-hint="Join" id="various1" onClick="return formSubmit();" href="#register_banner"> <div class="logins">Join</div></a>
						<!--<img id="hide_register" src="/images/Home-Register_popup/button_join.png" value="join" class="joinbt" tabindex="11" onClick="return formSubmit();">-->
						<input type="hidden" id="hidemailerror" name="hidemailerror" value="0" />
					</div>
                </div>
			</form>                
        </div>
    </div>


